﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddHouse.aspx.cs" Inherits="AddHouse" %>

<%@ Register Src="~/App_Widget/Navbar.ascx" TagName="navbar" TagPrefix="UITag" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="http://cdn.bootcss.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" />
</head>
<body>
    <UITag:navbar runat="server" ID="navbar" />
    <div class="container">
        <div id="header" class="text-center">
            <h1>发布房屋信息</h1>
        </div>
        <!-- Main Container -->
        <div id="main-container">
            <div class="row">
                <div class="col-lg-8 col-lg-offset-2">
                    
                    <!-- Profile Modify -->
                    <div id="ProfileModify">
                        <div class="panel panel-default">
                            <div class="panel-heading">房屋信息</div>
                            <div class="panel-body">
                                <!-- form -->
                                <form role="form" runat="server">
                                    <div class="form-group" >
                                        <asp:Label runat="server">房屋类型</asp:Label>
                                        <asp:RadioButtonList ID="rblHouseType" runat="server" cssClass="small text-info" RepeatDirection="Horizontal"  TextAlign="Left" Width="80%" Font-Bold="False" Font-Overline="False" CellPadding="10" CellSpacing="10" Height="10px">
                                        </asp:RadioButtonList>
                                    </div>
                                    <div class="form-group">
                                        <asp:Label runat="server">出租方式</asp:Label>
                                        <asp:RadioButtonList ID="rblLeaseMode" runat="server" cssClass="small text-info" RepeatDirection="Horizontal"  TextAlign="Left" Width="80%">
                                        </asp:RadioButtonList>
                                    </div>
                                    <div class="form-group">
                                        <asp:Label runat="server">地址</asp:Label>
                                        <asp:DropDownList ID="ddlAreaList" runat="server"></asp:DropDownList>
                                        <asp:TextBox ID="tbAddress" runat="server" AutoCompleteType="None" CssClass="form-control" />
                                    </div>
                                    <div class="form-group">
                                        <asp:Label runat="server">出租时间(单位:月)</asp:Label>
                                        <asp:TextBox ID="tbDuration" runat="server" TextMode="Number"  CssClass="form-control" />
                                    </div>
                                    <div class="form-group">
                                        <asp:Label runat="server">截止日期</asp:Label>
                                        <asp:TextBox ID="tbExpirationDate" runat="server" TextMode="Date" CssClass="form-control" />
                                    </div>
                                    <div class="form-group">
                                        <asp:Label runat="server">最晚入住时间</asp:Label>
                                        <asp:TextBox ID="tbIntakeTime" runat="server" TextMode="Date" CssClass="form-control" />
                                    </div>
                                    <div class="form-group">
                                        <asp:Label runat="server">价格</asp:Label>
                                        <asp:TextBox ID="tbPrice" runat="server" TextMode="number" CssClass="form-control" />
                                    </div>
                                    <div class="form-group">
                                        <asp:Label runat="server">规格</asp:Label>
                                        <asp:TextBox ID="tbStandard" runat="server"  CssClass="form-control" />
                                    </div>
                                    <div class="form-group">
                                        <asp:Label runat="server">房间数量</asp:Label>
                                        <asp:TextBox ID="tbRoomNumber" runat="server" TextMode="Number" CssClass="form-control" />
                                    </div>
                                    <div class="form-group">
                                        <asp:Label runat="server">缩略图</asp:Label>
                                        <asp:FileUpload ID="fuldThumbnail"  runat="server" />
                                    </div>
                                    <div class="form-group">
                                        <asp:Label runat="server">大图</asp:Label>
                                        <asp:FileUpload ID="fuldLargeImage" runat="server" />
                                    </div>


                                    <asp:Button ID="btnAddInfo" runat="server" CssClass="btn btn-primary" Text="添加信息" OnClick="AddInfo" />
                                    <asp:Label ID="Tip" runat="server" Text=""></asp:Label>
                                </form>
                                <!-- End of Form -->
                            </div>
                        </div>
                    </div>
                    <!-- End of Profile Modify -->

                </div>
            </div>

        </div>
        <!-- End of Main Container -->
    </div>

    <footer></footer>
    <!-- test -->

    <!-- end of test -->



    <script src="http://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
    <script src="http://cdn.bootcss.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
</body>
</html>
